package com.netease.pris.activity.a;

import android.widget.BaseAdapter;
import java.util.LinkedList;
import java.util.List;

public abstract class i extends BaseAdapter
{
  private LinkedList a = new LinkedList();

  public void a()
  {
    synchronized (this.a)
    {
      this.a.clear();
      notifyDataSetChanged();
      return;
    }
  }

  public void a(int paramInt)
  {
    if ((paramInt < 0) || (paramInt >= this.a.size()));
    while (true)
    {
      return;
      synchronized (this.a)
      {
        this.a.remove(paramInt);
        notifyDataSetChanged();
      }
    }
  }

  public void a(int paramInt, Object paramObject)
  {
    if (paramObject == null);
    while (true)
    {
      return;
      synchronized (this.a)
      {
        this.a.add(paramInt, paramObject);
        notifyDataSetChanged();
      }
    }
  }

  public void a(Object paramObject)
  {
    if (paramObject == null);
    while (true)
    {
      return;
      synchronized (this.a)
      {
        this.a.addLast(paramObject);
        notifyDataSetChanged();
      }
    }
  }

  public void a(List paramList)
  {
    if ((paramList == null) || (paramList.size() == 0));
    while (true)
    {
      return;
      synchronized (this.a)
      {
        this.a.addAll(paramList);
        notifyDataSetChanged();
      }
    }
  }

  public void a(Object[] paramArrayOfObject)
  {
    if ((paramArrayOfObject == null) || (paramArrayOfObject.length == 0));
    while (true)
    {
      return;
      LinkedList localLinkedList = this.a;
      monitorenter;
      int i = 0;
      try
      {
        while (i < paramArrayOfObject.length)
        {
          this.a.addLast(paramArrayOfObject[i]);
          i++;
        }
        notifyDataSetChanged();
        monitorexit;
        continue;
      }
      finally
      {
        localObject = finally;
        monitorexit;
      }
    }
    throw localObject;
  }

  public void a(Object[] paramArrayOfObject, int paramInt1, int paramInt2)
  {
    if ((paramArrayOfObject == null) || (paramArrayOfObject.length == 0));
    while (true)
    {
      return;
      if (paramInt1 < 0)
        paramInt1 = 0;
      if (paramInt2 >= paramArrayOfObject.length - paramInt1)
        paramInt2 = paramArrayOfObject.length - paramInt1;
      LinkedList localLinkedList = this.a;
      monitorenter;
      int i = paramInt2 - 1;
      label43: if (i >= paramInt1);
      try
      {
        this.a.addFirst(paramArrayOfObject[i]);
        i--;
        break label43;
        notifyDataSetChanged();
        monitorexit;
        continue;
      }
      finally
      {
        localObject = finally;
        monitorexit;
      }
    }
    throw localObject;
  }

  public void b(int paramInt, Object paramObject)
  {
    if ((paramObject == null) || (paramInt < 0) || (paramInt >= this.a.size()));
    while (true)
    {
      return;
      synchronized (this.a)
      {
        this.a.set(paramInt, paramObject);
        notifyDataSetChanged();
      }
    }
  }

  public void b(Object paramObject)
  {
    if (paramObject == null);
    while (true)
    {
      return;
      synchronized (this.a)
      {
        this.a.addFirst(paramObject);
        notifyDataSetChanged();
      }
    }
  }

  public void b(List paramList)
  {
    if ((paramList == null) || (paramList.size() == 0));
    while (true)
    {
      return;
      synchronized (this.a)
      {
        for (int i = -1 + paramList.size(); i >= 0; i--)
          this.a.addFirst(paramList.get(i));
        notifyDataSetChanged();
      }
    }
  }

  public void b(Object[] paramArrayOfObject)
  {
    if ((paramArrayOfObject == null) || (paramArrayOfObject.length == 0));
    while (true)
    {
      return;
      synchronized (this.a)
      {
        for (int i = -1 + paramArrayOfObject.length; i >= 0; i--)
          this.a.addFirst(paramArrayOfObject[i]);
        notifyDataSetChanged();
      }
    }
  }

  public int c(Object paramObject)
  {
    int i;
    if (paramObject == null)
      i = -1;
    while (true)
    {
      return i;
      synchronized (this.a)
      {
        i = this.a.indexOf(paramObject);
      }
    }
  }

  public void d(Object paramObject)
  {
    if (paramObject == null);
    while (true)
    {
      return;
      synchronized (this.a)
      {
        this.a.remove(paramObject);
        notifyDataSetChanged();
      }
    }
  }

  public int getCount()
  {
    return this.a.size();
  }

  public Object getItem(int paramInt)
  {
    if ((paramInt < 0) || (paramInt >= this.a.size()));
    for (Object localObject = null; ; localObject = this.a.get(paramInt))
      return localObject;
  }

  public long getItemId(int paramInt)
  {
    return paramInt;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.a.i
 * JD-Core Version:    0.6.0
 */